m =input('请输入投票同学的姓名')
dic={m:0}
count = 0
s = []
while True:
    for m in s:
        if count <5:
            if m in s:
                dic[m] +=1
            else:
                s.append(m)
                count +=1
        else:
            break
            print(dic)
            print('------------公示投票结果结果---------------')
            for m in dic:
                print('%s'%m,dic[m])
